package com.yanqu.road.entity.activity.operamask.sanxiao;

import com.yanqu.road.entity.activity.operamask.game.OperaMaskBlock;
import com.yanqu.road.entity.enums.eOperaMaskBlockType;

import java.util.ArrayList;
import java.util.List;

public class OperaMaskBoom {

    private int x;
    private int y;
    private int type;
    private List<OperaMaskBlock> blockList = new ArrayList<>();

    // 传参：彩虹炸弹效果
    private int colorfulColor = 0;
    private int colorfulType = eOperaMaskBlockType.NormalBlock.getValue(); // 默认普通类型

    public OperaMaskBoom() {
    }

    public OperaMaskBoom(int x, int y, int type) {
        this.x = x;
        this.y = y;
        this.type = type;
    }

    public OperaMaskBoom(int x, int y, int type, int colorfulColor, int colorfulType) {
        this.x = x;
        this.y = y;
        this.type = type;
        this.colorfulColor = colorfulColor;
        this.colorfulType = colorfulType;
    }

    public int getColorfulColor() {
        return colorfulColor;
    }

    public void setColorfulColor(int colorfulColor) {
        this.colorfulColor = colorfulColor;
    }

    public int getColorfulType() {
        return colorfulType;
    }

    public void setColorfulType(int colorfulType) {
        this.colorfulType = colorfulType;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public List<OperaMaskBlock> getBlockList() {
        return blockList;
    }

    public void setBlockList(List<OperaMaskBlock> blockList) {
        this.blockList = blockList;
    }
}
